package com.ruoyi.js.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 打分队列对象 js_score_queue
 * 
 * @author greejoy
 * @date 2024-10-16
 */
public class JsScoreQueue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 报名ID */
    @Excel(name = "报名ID")
    private Long registerId;

    /** 裁判ID */
    @Excel(name = "裁判ID")
    private Long judgeId;

    /** 是否打分 */
    @Excel(name = "是否打分")
    private Boolean isScored;

    public JsScoreQueue(){}

    public JsScoreQueue(Long registerId, Long judgeId){
        this.registerId = registerId;
        this.judgeId = judgeId;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRegisterId(Long registerId) 
    {
        this.registerId = registerId;
    }

    public Long getRegisterId() 
    {
        return registerId;
    }
    public void setJudgeId(Long judgeId) 
    {
        this.judgeId = judgeId;
    }

    public Long getJudgeId() 
    {
        return judgeId;
    }
    public void setIsScored(Boolean isScored)
    {
        this.isScored = isScored;
    }

    public Boolean getIsScored()
    {
        return isScored;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("registerId", getRegisterId())
            .append("judgeId", getJudgeId())
            .append("isScored", getIsScored())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
